package com.buka.communicate.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.buka.communicate.R;

import net.neiquan.applibrary.base.BaseActivity;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/11/14 0014.
 */

public class FubowGetActivity extends BaseActivity {
    @InjectView(R.id.currentFuBow)
    TextView currentFuBow;
    @InjectView(R.id.toBeManager)
    LinearLayout toBeManager;
    @InjectView(R.id.shareTask)
    LinearLayout shareTask;
    @InjectView(R.id.getFuBag)
    LinearLayout getFuBag;

    @Override
    public int getRootViewId() {
        return R.layout.activity_fubow_get;
    }

    @Override
    public void setViews() {
        setTitleTv("获取福宝");
    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.toBeManager, R.id.shareTask, R.id.getFuBag})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.toBeManager:
                startActivity(new Intent(FubowGetActivity.this, FamilyCretaeActivity.class));
                break;
            case R.id.shareTask:
                startActivity(new Intent(FubowGetActivity.this, DayTaskActivity.class));
                break;
            case R.id.getFuBag:
                break;
        }
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.inject(this);
    }
}
